#include <iostream>
using namespace std;
int main(){
	int yinshu1=1,yinshu2=1;
	for(;yinshu2<=9;yinshu2++){
		yinshu1=1;
		for(;yinshu1<=yinshu2;yinshu1++){
			cout<<yinshu1<<"*"<<yinshu2<<"="<<yinshu1*yinshu2<<" ";
		}
		cout<<endl;
	}
	
	return 0;
}
